package com.yiyi.credit.manage.sso.service.outter;


import com.yiyi.credit.manage.sso.model.dto.response.Response;
import com.yiyi.credit.manage.sso.model.system.SubStation;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import java.util.List;


@FeignClient(value = "yiyi-credit-manage-abutment-manage",fallback = SseSystemHystrix.class)
public interface SseSystemClient {


    @RequestMapping(value = "/sseSubStation/ssoGetSubStationList", method = RequestMethod.POST)
    Response<List<SubStation>> getSubStationList();


}
